package com.jdzy.student.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jdzy.model.common.vos.Result;
import com.jdzy.model.student.dtos.ResearchTopicDeleteDto;
import com.jdzy.model.student.dtos.ResearchTopicDto;
import com.jdzy.model.student.dtos.ResearchTopicSearchDto;
import com.jdzy.model.student.pojos.ResearchTopic;

public interface ResearchTopicService extends IService<ResearchTopic> {
    /**
     * 获取课题信息
     *
     * @param stuId
     * @param page
     * @param size
     * @param researchTopicSearchDto
     * @return
     */
    Result getResearchTopicByStuId(String stuId, Integer page, Integer size, ResearchTopicSearchDto researchTopicSearchDto);

    /**
     * 获取课题信息
     * @param stuId
     * @param researchTopicDeleteDto
     * @return
     */
    Result deleteResearchTopic(String stuId, ResearchTopicDeleteDto researchTopicDeleteDto);

    /**
     * 新增课题信息
     * @param researchTopicDto
     * @return
     */
    Result saveResearchTopic(ResearchTopicDto researchTopicDto);

    /**
     * 修改课题信息
     * @param researchTopicDto
     * @return
     */
    Result updateResearchTopic(ResearchTopicDto researchTopicDto);
}
